<template>
	<view>
		
		
		<view class="content">
			<u-parse :html="article.content"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				article:{}
			}
		},
		onLoad:function(e){
			
			this.$u.post('index.php?class=article&act=view', {
					id:e.id
				}).then(res => {
				    this.article=res.data
					uni.setNavigationBarTitle({
					　　title:res.data.title
					})
				});
			
		},
		methods: {
			
		}
	}
</script>

<style>
 .title{font-size: 18px; font-weight: bold; text-align: center; margin: 10px auto;}
 .content{line-height: 25px; margin-top: 10px;}
</style>
